package org.toycode.logindemo.application.config;

import java.util.List;
import javax.xml.bind.annotation.XmlAttribute;
import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlElements;

/**
 * This class depicts the data entity configurations.
 *
 * @author <a href="mailto:DL88250@gmail.com">Liang Ding</a>
 * @version 1.0.0.0, Sep 1, 2009
 */
public class Entity {

    /**
     * class of this entity.
     */
    @XmlAttribute(name = "class")
    public String clazz;
    /**
     * display name of this entity.
     */
    @XmlAttribute
    public String displayName;
    /**
     * properties of this type.
     */
    @XmlElements(@XmlElement(name = "prop", type = Prop.class))
    public List<Prop> props;
}
